from django.contrib import admin

from .models import Player
# Register your models here.

class PlayerAdmin(admin.ModelAdmin):
    list_display = ('id', 'team', 'name','is_west','is_east','is_published')
    list_display_links = ('id','name')
    list_filter = ('team',)
    list_editable = ('is_published','is_west', 'is_east')
    search_fields = ()
    list_per_page = 25

admin.site.register(Player,PlayerAdmin)